package cn.didi.feidi.androidorder;

/**
 * Created by king on 2017/8/2.
 */

public class Constants {
    //  : 2017/8/23 测试账号 ---jinXiong
//    //ID
//    public static final String USER_ID = "18740284923150062154";
//
//    //TOKEN
//    public static final String TOKEN = "9101F28ED6C618499F42C143B035C46E";

    //时间格式化为字符串格式
    public static final String START_TIME_FORMAT = "MM-dd HH:mm";
    public static final String END_TIME_FORMAT = "HH:mm";

    /**
     * 数据库 名字
     */
    public static final String DATA_BASE_NAME = "order_user";

    /**
     * 后台交互数据时间格式
     */
    public static final String RESPONSE_API_FORMAT_DATE = "yyyy-MM-dd HH:mm:ss";


    /**
     * 订单系统状态
     */
    public static final int STATUS_SYS_PAYING = 0;//待支付
    public static final int STATUS_SYS_RECEIVING = 1;//待接收
    public static final int STATUS_SYS_PICKING_UP = 2;//待取货
    public static final int STATUS_SYS_DISPATCHING = 3;//配送中
    public static final int STATUS_SYS_FINISHED = 4;//已完成
    public static final int STATUS_SYS_CANCELED = 5;//已取消
    /**
     * 订单用户状态
     */
    public static final int STATUS_USER_PAYING = 0;//待支付
    public static final int STATUS_USER_RECEIVING = 1;//待接单
    public static final int STATUS_USER_TAKING = 2;//待收货
    public static final int STATUS_USER_FINISHED = 4;//已完成
    public static final int STATUS_USER_CANCELED = 5;//已取消
    /**
     * 订单送水工状态
     */
    public static final int STATUS_DELIVER_UNKNOWN = 0;//不可见
    public static final int STATUS_DELIVER_RECEIVING = 1;//待接单
    public static final int STATUS_DELIVER_PICKING_UP = 2;//待取货
    public static final int STATUS_DELIVER_DISPATCHING = 3;//配送中
    public static final int STATUS_DELIVER_FINISHED = 4;//已完成
    public static final int STATUS_DELIVER_CANCELED = 5;//已取消

    /*余额变化原因：0送水提成 1余额提现，2支付订单 暂定 20170903*/

    public static final int BALANCE_CHANGE_PAY_ORDER = 0;//用户支付订单
    public static final int BALANCE_CHANGE_WITHDRAW=1;//1余额提现
//    public static final int BALANCE_CHANGE_PAY_ORDER=2;//支付订单
    public static final int BALANCE_CHANGE_CHARGE=3;//充值
    public static final int FREEZE_BALANCE_CHANGE_WITHDRAW=4;//冻结余额提现
    public static final int BALANCE_CHANGE_WITHDRAW_FALSE=5;//提款申请失败，将冻结余额转到可用余额
    public static final int DEPOSIT_CHANGE_PAY=6;//押金支付
    public static final int DEPOSIT_CHANGE_WITHDRAW=7;//押金提款
    public static final int BOND_CHANGE_PAY=8;//保证金支付
    public static final int BOND_CHANGE_WITHDRAW=9;//保证金提款
    public static final int ORDER_USER_REDUND=10;//用户订单退款
    public static final int ALIPAY_WITHDRAW_ERROR=11;//支付宝提现失败
    public static final int ORDER_USER_PROFIT_DELIVER=12;//订单利润
    public static final int ORDER_USER_EARN_STORE=13;//订单利润
    public static final int ORDER_USER_FINISH_FREEZE_BALANCE=14;//用户订单完成，扣除用户钱包的冻结余额
    public static final int DEPOSIT_RETURN=15;//押金退还

    /**
     * apk保存在本地的地址
     */
    public static final String APK_SAVE_PATH = "feidiorder/apk";
}
